﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Reflection;

namespace CamOnWebApplication
{
    public partial class FrmShowCam : Form
    {
        public FrmShowCam()
        {
            InitializeComponent();
            this.Text = "CamOnWeb v" + Assembly.GetExecutingAssembly().GetName().Version.ToString() + "."; 
        }

        private void btnStart_Click(object sender, EventArgs e)
        {
            camOnWebComponent.Start();
        }

        private void btnStop_Click(object sender, EventArgs e)
        {
            camOnWebComponent.Stop();
        }
    }
}
